<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Category_module extends MY_Module {

	public function __construct() {
		parent::__construct();
		$this->load->model('term_m','term');
		$this->load->model('post_m','post');
		//$this->load->module('ultimate_posts');
		$this->load->model('modules/ultimate_posts_module','ultimate_posts');
	}
	
	public function admin($config) {
		$this->ultimate_posts->admin($config);
	}
	
	public function module_update($data) {
		return $this->ultimate_posts->module_update($data);
	}
	/**
	 * 
	 * @param object $config
	 * 
	 */
	public function run($config) {
		$this->ultimate_posts->run($config);
	}
}